<template>
	<div>
    我是index2
    <router-link to="/login1">登录</router-link>
    <router-link to="/register1">注册</router-link>
    <router-view></router-view>
   </div>

</template>

<script>
	export default{
		data(){
			return{

			}
		},
		components:{

		},
		methods:{

		},
    mounted() {
      // let user=this.$route.query.user;
      let user=this.$route.params.user
      console.log(user);
    }
	}
</script>

<style>
</style>
